package cn.yunsenlin.formula.cloud.bean.auth;

import java.util.Date;

/**
 * 鉴权结果
 */
public class AuthResult {
    /**
     * 是否成功
     */
    private boolean isSuccess = false;
    /**
     * token
     */
    private String token;
    /**
     * 最后期限
     */
    private Date deadLine;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getDeadLine() {
        return deadLine;
    }

    public void setDeadLine(Date deadLine) {
        this.deadLine = deadLine;
    }
}
